#ifndef _SHELL_FIGTLOG_BEAN_H_
#define _SHELL_FIGTLOG_BEAN_H_

#include "Beans.h"
#include "Message.h"
#include <vector>
using namespace std;
class FigtLog : public Bean
{
	public:
	FigtLog();
	~FigtLog();
	void reset();
	FigtLog* clone();
	//是否能攻击,0能攻击,1不能攻击
	int8 isAttact;
	//挑战者自己的信息
	Oneself* challenger;
	//盟友信息

	vector<JoinWar*> mengyou;
	//敌人信息

	vector<JoinWar*> enemyInfos;
	
	bool read_from(ByteBuf& buf);
	bool write_to(ByteBuf& buf);
};

#endif
